package com.cz.run.beans.mysql;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author CAIYJ
 * @since 2018-06-03
 */
@TableName("force_statistics")
public class ForceStatistics extends Model<ForceStatistics> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 算力总数
     */
    @TableField("force_total")
    private Double forceTotal;
    /**
     * 平均算力
     */
    @TableField("force_avg")
    private Double forceAvg;
    /**
     * 最低算力
     */
    @TableField("force_min")
    private Double forceMin;
    /**
     * 最高算力
     */
    @TableField("force_max")
    private Double forceMax;
    @TableField("pool_total")
    private Double poolTotal;
    /**
     * 最高获得积分
     */
    @TableField("point_max")
    private Double pointMax;
    private Date time;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getForceTotal() {
        return forceTotal;
    }

    public void setForceTotal(Double forceTotal) {
        this.forceTotal = forceTotal;
    }

    public Double getForceAvg() {
        return forceAvg;
    }

    public void setForceAvg(Double forceAvg) {
        this.forceAvg = forceAvg;
    }

    public Double getForceMin() {
        return forceMin;
    }

    public void setForceMin(Double forceMin) {
        this.forceMin = forceMin;
    }

    public Double getForceMax() {
        return forceMax;
    }

    public void setForceMax(Double forceMax) {
        this.forceMax = forceMax;
    }

    public Double getPoolTotal() {
        return poolTotal;
    }

    public void setPoolTotal(Double poolTotal) {
        this.poolTotal = poolTotal;
    }

    public Double getPointMax() {
        return pointMax;
    }

    public void setPointMax(Double pointMax) {
        this.pointMax = pointMax;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ForceStatistics{" +
        ", id=" + id +
        ", forceTotal=" + forceTotal +
        ", forceAvg=" + forceAvg +
        ", forceMin=" + forceMin +
        ", forceMax=" + forceMax +
        ", poolTotal=" + poolTotal +
        ", pointMax=" + pointMax +
        ", time=" + time +
        "}";
    }
}
